﻿using System.Web.Mvc;
using KMF.WebUI.Infrastructure;

namespace KMF.WebUI.Attributes
{
    public class CustomerLoggedAuthorize :  FilterAttribute, IAuthorizationFilter
    {
        public void OnAuthorization(AuthorizationContext filterContext)
        {

            //if (filterContext.HttpContext.Session[SessionConfig.SessionCustomerShopping] != null)
            //{
            //    filterContext.Result = new RedirectResult("/Home/Index");
            //}
        }
    }
}